package com.example.security.exception;

import com.example.common.core.enums.ResultCode;
import lombok.Getter;

/**
 * @author 23050
 * @version 1.0
 * @description: 抛出service异常
 * @date 2025/2/20 20:25
 */
@Getter
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
